package com.peas.platform.module.icims.budget.archives.controller.vo;

import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("项目属性")
public class BudgetAttributeVo extends BaseVo {

    @ApiModelProperty(value = "项目属性编码", notes = "")
    @Size(max = 50, message = "项目属性编码不能超过50个字符")
    private String attributeCode;

    @ApiModelProperty(value = "项目属性名称", notes = "")
    @Size(max = 200, message = "项目属性名称不能超过200个字符")
    private String attributeName;

    // 1:有效，0:无效
    @ApiModelProperty(value = "状态", notes = "")
    @Size(max = 20, message = "状态不能超过20个字符")
    private String state;

}
